package com.yotouch.app.stake.model;

import com.yotouch.core.model.EntityModel;

/**
 * 日志操作实体
 */
public class OperationLog extends EntityModel {

    /**
     * 目标实体主键
     */
    private String modelUuid;
    /**
     * 模块名称
     */
    private String module;
    /**
     * 操作类型
     */
    private String operationType;
    /**
     * 服务端Ip
     */
    private String serverIp;
    /**
     * 客户端Ip
     */
    private String clientIp;
    /**
     * 操作内容
     */
    private String content;

    public String getModelUuid() {
        return modelUuid;
    }

    public void setModelUuid(String modelUuid) {
        this.modelUuid = modelUuid;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getOperationType() {
        return operationType;
    }

    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }

    public String getServerIp() {
        return serverIp;
    }

    public void setServerIp(String serverIp) {
        this.serverIp = serverIp;
    }

    public String getClientIp() {
        return clientIp;
    }

    public void setClientIp(String clientIp) {
        this.clientIp = clientIp;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "OperationLog{" +
                "modelUuid='" + modelUuid + '\'' +
                ", module='" + module + '\'' +
                ", operationType='" + operationType + '\'' +
                ", serverIp='" + serverIp + '\'' +
                ", clientIp='" + clientIp + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}